<clickhouse>
    <dictionary>
        <name>clickhouse_cache</name>

        <source>
            <clickhouse>
                <host>localhost</host>
                <port>9000</port>
                <user>default</user>
                <password></password>
                <db>default</db>
                <table>dictionary_source</table>
            </clickhouse>
        </source>

        <lifetime>
            <min>0</min>
            <max>0</max>
        </lifetime>

        <layout>
            <cache><size_in_cells>128</size_in_cells></cache>
        </layout>

        <structure>
            <id>
                <name>id</name>
            </id>

            <attribute>
                <name>value</name>
                <type>UInt8</type>
                <null_value>1</null_value>
            </attribute>
        </structure>
    </dictionary>
</clickhouse>